//package com.gtmc.gclub.chat.util;
//
//import java.util.ArrayList;
//import java.util.List;
//
//import com.gtmc.gclub.chat.model.TmDealer;
//import com.gtmc.gclub.chat.model.TmUsers;
//import com.gtmc.gclub.chat.model.WxChatUser;
//import com.gtmc.gclub.chat.service.DealerService;
//import com.gtmc.gclub.chat.service.UserService;
//import com.gtmc.gclub.chat.service.WxChatUserService;
//
//public class DateInitUtil {
//
//	public static void main(String[] args) {
//		UserService userService = new UserService();
//		WxChatUserService chatService = new WxChatUserService();
//		DealerService dealerService = new DealerService();
//		List<TmDealer> allDealer = dealerService.queryDealers(new TmDealer());
//		List<TmUsers> lkusers =  userService.queryUsers(new TmUsers());
//		List<WxChatUser> chatUsers = new ArrayList<WxChatUser>();
//		for(TmUsers tempUser : lkusers) {
//			WxChatUser tempChat = new WxChatUser();
//			tempChat.setDealerCode(tempUser.getDealerCode());
//			tempChat.setDealerName();
//			tempChat.setIconsPhoto(tempUser.getIconsPhoto());
//			tempChat.setLkUserId(tempUser.getUserId());
//			tempChat.setWeixinCode(tempUser.getUserCode());
//		}
//	}
//
//}
